#include "Light.h"

namespace ds {

Light::Light() {	
	ZeroMemory( &m_Light, sizeof(D3DLIGHT9) );    
	index = 0;
	active = true;
}

void Light::setAmbient(const Color &color) {
	m_Light.Ambient = color;
}

void Light::setDiffuse(const Color &color) {
	m_Light.Diffuse = color;
}

void Light::setSpecular(const Color &color) {
	m_Light.Specular = color;
}

void Light::setPosition(Vec3 position) {
	m_Light.Position = position;
}

void Light::setDirection(Vec3 direction) {
	m_Light.Direction = direction;
}

};